Platform Explorer / Nuxeo Platform 2021.50

Operation BlobHolder.AttachOnCurrentDocument (Attach File or files to the currentDocument.)

Description

Attach the input file(s) to the current document using the BlobHolder abstraction
Operation id BlobHolder.AttachOnCurrentDocument
AliasesBlobHolder.Attach
Category Files
Label Attach File or files to the currentDocument.
Requires
Since

Parameters

Name Description Type Required Default value
useMainBlob boolean no  

Signature

Inputs bloblist, blob
Outputs document, document

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.services.BlobHolderAttach
Contributing Component org.nuxeo.ecm.core.automation.features.operations

JSON Definition

{
  "id" : "BlobHolder.AttachOnCurrentDocument",
  "aliases" : [ "BlobHolder.Attach" ],
  "label" : "Attach File or files to the currentDocument.",
  "category" : "Files",
  "requires" : null,
  "description" : "Attach the input file(s) to the current document using the BlobHolder abstraction",
  "url" : "BlobHolder.AttachOnCurrentDocument",
  "signature" : [ "bloblist", "document", "blob", "document" ],
  "params" : [ {
    "name" : "useMainBlob",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}